package com.ambow.shop.action.impl;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.ambow.shop.action.Action;

/**
 * 删除授权业务流程。
 * 
 * @author deng.zhao
 *
 */
public class RemoveAuthorizationAction implements Action {

	@Override
	public String execute(HttpServletRequest request, HttpServletResponse response) {
		HttpSession session = request.getSession();
		session.removeAttribute("user");
		return "/home";
	}

}
